package cn.tedu.order.management.dao.persist.mapper;

import cn.tedu.order.management.pojo.entity.OrderRefund;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RefundMapper extends BaseMapper<OrderRefund> {

    int addNew(OrderRefund orderRefund);

    void updateByOrderId(Integer state,Long orderId);

    List<OrderRefund> getList();

    int updateByIdY(Long orderId);
    int updateByIdN(Long orderId);
}
